//生成导航菜单
var I, S = [], U = [
	"download/jsRookie.html", "document/index.html",
	"example/demo.html", "log.html",
	"download/skin.html", "faq.html"
];
while(U.length) {
	I = U.shift(),
	S.push("<a href='/web/$[U]'><img src='/common/image/all/menuItem$[I].png' border='0'/></a>".replace(
		/\$\[([^\]]+)\]/g, function(){ return arguments[2] < 15 ? I : 6 - U.length; })),
	U.length && S.push("<img src='/common/image/all/menuSplitLine.png'/>");
}//Endwhile
$(".menuWrap").html(S.join("")).children("a").children().mouseover(function() {
	this.src = this.src.replace(/.(?=\png)/, "$.");
}).mouseout(function(){
	this.src = this.src.replace(/\$\./, ".");
});
S = U = null;